<?php /* Smarty version 2.6.26, created on 2014-12-05 09:33:07
         compiled from page/daftarproduk.html */ ?>
<table class="table">
    <tr>
        <th>Merk</th>
        <th>Kategori</th>
        <th>Stok</th>
        <th>Harga</th>
        <th>Deskripsi</th>
        <th></th>   
    </tr>   
    <?php $_from = $this->_tpl_vars['daftar']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['s']):
?>
    <tr>
        <td><?php echo $this->_tpl_vars['s']['nama']; ?>
</td>
        <td><?php echo $this->_tpl_vars['s']['kategori']; ?>
</td>
        <td><?php echo $this->_tpl_vars['s']['stok']; ?>
</td>
        <td><?php echo $this->_tpl_vars['s']['harga']; ?>
</td>
        <td><?php echo $this->_tpl_vars['s']['deskripsi']; ?>
</td>
        <td>
            <a href="#" class="btn">Edit</a>  
            <a href="#" class="btn">Delete</a>    
        </td>
    </tr>   
    <?php endforeach; endif; unset($_from); ?>
</table>

<a href="#" class="btn">Edit</a>  
<a href="#" class="btn">Delete</a>    